package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.MemberReceiveVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

//会员的远程服务
@FeignClient("gulimall-member")
public interface MemberFeignService {

    //获取收货列表
    @GetMapping("/member/memberreceiveaddress/getMemberAddresses/{memberId}")
    public List<MemberReceiveVo> getMemberAddresses(@PathVariable("memberId") Long memberId);

}
